package dao;

/**
 * SaleDetail entity. @author MyEclipse Persistence Tools
 */

public class SaleDetail implements java.io.Serializable {

	// Fields

	private SaleDetailId id;
	private Goods goods;
	private Sale sale;

	// Constructors

	/** default constructor */
	public SaleDetail() {
	}

	/** full constructor */
	public SaleDetail(SaleDetailId id, Goods goods, Sale sale) {
		this.id = id;
		this.goods = goods;
		this.sale = sale;
	}

	// Property accessors

	public SaleDetailId getId() {
		return this.id;
	}

	public void setId(SaleDetailId id) {
		this.id = id;
	}

	public Goods getGoods() {
		return this.goods;
	}

	public void setGoods(Goods goods) {
		this.goods = goods;
	}

	public Sale getSale() {
		return this.sale;
	}

	public void setSale(Sale sale) {
		this.sale = sale;
	}

}